<!--
 * @Author: cl
 * @Description: 
 * @Date: 2022-11-04 09:42:21
 * @LastEditTime: 2022-11-10 15:47:35
 * @FilePath: \vue3\src\views\vue3Study\cssChildren.vue
-->
<template>
    <div class="childbg">
        我是子组件
        <div class="second">我是子组件的第二行文字</div>
        <div class="second" @click="toShichang()">跳转市场</div>
    </div>
</template>
<script setup>

let toShichang = ()=>{
    
}
</script>
<style lang="scss" scoped>
.childbg{
    width: 100px;
    height: 100px;
    background: #ffffff; 
    color: aqua;
}
.second{
    color: green;
}
</style>>
